<?php
if(!defined('IN_KKFRAME')) exit('Access Denied');
DB::query('CREATE TABLE IF NOT EXISTS `setting` (
  `k` varchar(32) NOT NULL,
  `v` varchar(64) NOT NULL,
  PRIMARY KEY (`k`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8');

DB::query("ALTER TABLE `songs` ADD `process_type` VARCHAR( 32 ) NOT NULL COMMENT 'vdisk-威盘,baidupcs-百度云' AFTER `fileserver_data`,
ADD `process_low` TEXT NOT NULL COMMENT 'serialize' AFTER `process_type`,
ADD `process_high` TEXT NOT NULL COMMENT 'serialize' AFTER `process_low`;");

saveSetting('version', VERSION);
showmessage('成功更新到 '.VERSION.'！', './', 1);
?>
